package com.kehutong.wxapi.response;

import org.coraframework.json.annotation.JSONField;

/**
 * 第三方访问用户身份响应对象
 * @author: liukunlong
 * @date: 2021-03-31 11:21
 */
public class GetUserInfo3rdResponse {

    /**
     * errcode
     */ /**
     * errcode : 0
     * errmsg : ok
     * CorpId : CORPID
     * UserId : USERID
     * DeviceId : DEVICEID
     * user_ticket : USER_TICKET
     * expires_in : 7200
     * open_userid : wwxxxx
     */

    @JSONField(name = "errcode")
    private Integer errcode;
    /**
     * errmsg
     */
    @JSONField(name = "errmsg")
    private String errmsg;
    /**
     * CorpId
     */
    @JSONField(name = "CorpId")
    private String CorpId;
    /**
     * UserId
     */
    @JSONField(name = "UserId")
    private String UserId;
    /**
     * DeviceId
     */
    @JSONField(name = "DeviceId")
    private String DeviceId;
    /**
     * userTicket
     */
    @JSONField(name = "user_ticket")
    private String userTicket;
    /**
     * expiresIn
     */
    @JSONField(name = "expires_in")
    private Integer expiresIn;
    /**
     * openUserid
     */
    @JSONField(name = "open_userid")
    private String openUserid;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getCorpId() {
        return CorpId;
    }

    public void setCorpId(String CorpId) {
        this.CorpId = CorpId;
    }

    public String getUserId() {
        return UserId;
    }

    public void setUserId(String UserId) {
        this.UserId = UserId;
    }

    public String getDeviceId() {
        return DeviceId;
    }

    public void setDeviceId(String DeviceId) {
        this.DeviceId = DeviceId;
    }

    public String getUserTicket() {
        return userTicket;
    }

    public void setUserTicket(String userTicket) {
        this.userTicket = userTicket;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getOpenUserid() {
        return openUserid;
    }

    public void setOpenUserid(String openUserid) {
        this.openUserid = openUserid;
    }
}
